/*
 * Wire
 * Copyright (C) 2018 Wire Swiss GmbH
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see http://www.gnu.org/licenses/.
 *
 */

.full-search {
  display: inline-block;
  max-width: 624px + 72px;

  body.theme-dark & {
    header div,
    header input {
      background-color: var(--gray-100);
    }
  }

  &__item {
    position: relative;
    display: flex;
    height: 56px;
    align-items: center;
    cursor: pointer;

    &::after {
      position: absolute;
      right: 0;
      bottom: 0;
      left: var(--conversation-message-sender-width);
      height: 1px;
      background-color: var(--separator-color);
      content: '';
    }

    &__avatar {
      .flex-center;

      width: var(--conversation-message-sender-width);
      flex: 0 0 auto;
      color: var(--foreground);
    }

    &__content {
      display: flex;
      overflow: hidden;
      width: 100%;
      height: 100%;
      flex-direction: column;
      justify-content: center;
      margin-right: 8px;
      &__info {
        .label-nocase-xs;

        color: var(--foreground);
        line-height: var(--line-height-sm);
      }
      &__text {
        line-height: var(--line-height-lg);
        white-space: nowrap;
      }
    }
  }

  &__marked {
    background-color: var(--accent-color-fade-24);
    color: var(--background);
  }

  &__no-result {
    width: 100%;
    margin: 80px 0 0;
    text-align: center;
  }
}
